/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>

using namespace std;

int main_1()
{
    int a=123,b=1234567;
    long c=123l;
    printf("%5d\n",a);
    printf("%05d\n",a);
    printf("%-5d\n",c);
    printf("%5d\n",b);
    double e=123.4567;
    printf("%.0f\n",e);
    printf("%.1f\n",e);
    printf("%.2f\n",e);
    printf("%.3f\n",e);
	return 0;
}
